<table id="{{table_id}}" class="table table-bordered table-hover dataTable" role="grid">
    <thead>
    <tr>
        <th><input type="checkbox" onclick="bo_datatables_sel_all(this);" class="bo_datatables_row_checkbox"/>
        </th>
        {% for title in titles %}
        <th>{{title}}</th>
        {% end %}
    </tr>
    </thead>
    <tfoot>
    <tr>
        <th><input type="checkbox" onclick="bo_datatables_sel_all(this);" class="bo_datatables_row_checkbox"/>
        </th>
        {% for title in titles %}
        <th>{{title}}</th>
        {% end %}
    </tr>
    </tfoot>
</table>